/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Alert;

/**
 *
 * @author Anatomy
 */
import java.io.*;
public class mp3Filter extends javax.swing.filechooser.FileFilter {
  public boolean accept(File f) {
    if (f.getName( ).endsWith(".mp3")) return true;
    else if (f.getName( ).endsWith(".mp3")) return true;
    else if (f.isDirectory( )) return true;
    return false;
  }
  public String getDescription( ) {
    return "mp3 (*.mp3)";
  }
}

